/**
 * Free software.
 */

package org.nanhill.support.spring.v12;

import org.springframework.core.Ordered;
import org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-11-17
 */
public class OrderedFreemarkerViewResolver extends FreeMarkerViewResolver
		implements Ordered {
	private int order = Integer.MAX_VALUE; // default: same as non-Ordered

	public void setOrder(int order) {
		this.order = order;
	}

	public int getOrder() {
		return order;
	}
}
